package eg;

import java.util.Date;

public class Player {

    public String name;
    private Date birthdate;
    private Address address=new Address();
    
    public Date getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(Date birthdate) {
        this.birthdate = birthdate;
    }

    public Player(String name) {
        super();
        this.name=name;
    }

    public Player() {
        super();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }    

}
